cmake_minimum_required(VERSION 3.6)

PROJECT(SerialSocket)
find_package(Boost COMPONENTS system thread REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})
include_directories(src)
link_directories(${Boost_LIBRARY_DIR})
link_libraries(${Boost_LIBRARIES})

add_library(${PROJECT_NAME} src/TcpClient.cpp src/SerialClient.cpp)

add_subdirectory(tests)





